package com.web.dao;


import com.web.VO.MyPublishVO;
import com.web.VO.MyQuizVO;
import com.web.entity.ExpertsInfo;
import com.web.entity.UserQuiz;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AskQuestionsMapper {


    List<ExpertsInfo> getExpertsList();

    void insertSelective(UserQuiz userQuiz);

    UserQuiz findUserAskQuestions(@Param("typeId") Integer typeId);

    void updateCollectionNum(UserQuiz userQuiz);

    /**
     * 我发布的问答
     * @param userId
     * @return
     */
    List<MyPublishVO> listMyPublishQuiz(String userId);
}
